#!/usr/bin/python

import numpy as np
import tensorflow as tf

x = tf.placeholder(tf.float32, [None, 3])
y = tf.matmul(x, x)
with tf.Session() as sess:
    rand_array = np.random.rand(3, 3)
    print(sess.run(y, feed_dict={x: rand_array}))
